package cn.udinghuo.model.archives.system;

import com.fasterxml.jackson.annotation.JsonSetter;

import org.springframework.util.Assert;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.persistence.Column;
import cn.udinghuo.core.domain.entity.BaseEntity;	
import cn.udinghuo.core.domain.entity.Comment;
import cn.udinghuo.core.domain.entity.ita.AutoIncrement;
import cn.udinghuo.core.domain.entity.ita.CacheKey;
import cn.udinghuo.core.domain.entity.ita.NotIdCache;

/**
 * @author zhaoyt
 *	默认图片
 */
@Entity
@AutoIncrement 
@NotIdCache
@Table(name="defaultimg")
public class DefaultImg extends BaseEntity<Long>  {

	private static final long serialVersionUID = -268435457L;
	/**
	* 默认图片keykey
	*/
	@Comment(value="默认图片key")
	@Column(name="cKey")
	private String key;
	/**
	* 图片URLurl
	*/
	@Comment(value="图片URL")
	@Column(name="cUrl")
	private String url;
	@CacheKey
	public String getKey() {
		return this.key;
	}
	
	public void setKey(String value) {
		this.key = value;
	}
	
	public String getUrl() {
		return this.url;
	}
	
	public void setUrl(String value) {
		this.url = value;
	}
	
}
